
/**
 * 处理action
 */

const initState = {
    value : '默认值'
}

const reduer = (state = initState, action) => {

    console.log('reducer:', state, action)
    switch (action.type) {
        case 'type_1':
            return Object.assign({}, state, action)
    
        default:
            return state 
    }
}

module.exports = {
    reduer
}
